Menu Top
Complete Course of Mathematics
Topic 1: Numbers & Numerical Applications Topic 2: Algebra Topic 3: Quantitative Aptitude
Topic 4: Geometry Topic 5: Construction Topic 6: Coordinate Geometry
Topic 7: Mensuration Topic 8: Trigonometry Topic 9: Sets, Relations & Functions
Topic 10: Calculus Topic 11: Mathematical Reasoning Topic 12: Vectors & Three-Dimensional Geometry
Topic 13: Linear Programming Topic 14: Index Numbers & Time-Based Data Topic 15: Financial Mathematics
Topic 16: Statistics & Probability


Content On This Page
Integration by Substitution: Method and Applications Integration by Parts Formula and Application Standard Integrals solvable by Parts (e.g., $\int e^x (f(x) + f'(x)) dx$)


Integration Techniques: Substitution and By Parts



Integration by Substitution: Method and Applications

Integration by substitution, often referred to as u-substitution, is a fundamental and powerful technique used to find indefinite integrals (and definite integrals, which we'll see later). It is essentially the counterpart of the Chain Rule from differential calculus. Just as the Chain Rule helps differentiate composite functions, u-substitution helps integrate functions that are (or can be related to) the result of a differentiation via the Chain Rule.

The method is applicable when the integrand (the function being integrated) can be recognized as a composite function multiplied by the derivative of the inner function, possibly off by a constant factor.

The Method of Integration by Substitution

The core idea behind integration by substitution is to simplify the integrand by introducing a new variable, typically $u$. This transformation makes the integral easier to evaluate using standard integration formulas.

Let's say we want to evaluate an integral of the form $\int f(x) dx$. The steps for using substitution are:

  1. Choose a Substitution ($u$): Select a part of the integrand to set equal to the new variable $u$. A good choice for $u$ is often:
    • The "inner function" of a composite function (e.g., the argument of a trigonometric, exponential, or logarithmic function, or the base of a power).
    • A quantity whose derivative appears elsewhere in the integrand, possibly up to a constant factor.

    Write down the substitution equation: $u = g(x)$, where $g(x)$ is the chosen part of the integrand.

  2. Find the Differential $du$: Differentiate the substitution equation $u = g(x)$ with respect to $x$.

    $\frac{du}{dx} = g'(x)$

    Then, write this relationship in differential form: $du = g'(x) dx$. This equation relates the differentials $du$ and $dx$.

  3. Substitute into the Integral: Replace all occurrences of $g(x)$ in the original integral with $u$. Use the relationship $du = g'(x) dx$ (or rearrange it to solve for $dx$, $dx = \frac{du}{g'(x)}$) to replace $dx$ and any remaining parts of the integrand involving $x$. The goal is to transform the entire integral into an expression solely in terms of $u$ and $du$. There should be no $x$'s left in the integrand or the differential. If any $x$'s remain, the substitution was either incorrect or incomplete, or the integral cannot be solved by this simple substitution.
  4. Integrate with Respect to $u$: Evaluate the transformed integral $\int h(u) du$ using the standard integration formulas you know (e.g., Power Rule, trigonometric integrals, exponential integrals). Remember to add the constant of integration, $+ C$, at the end of the integration step.
  5. Substitute Back to the Original Variable ($x$): The result from Step 4 is a function of $u$. Replace $u$ with its original expression in terms of $x$ (i.e., $g(x)$). The final answer should be a function of $x$ plus the constant of integration.

Key Idea: Reversing the Chain Rule

The method of substitution is directly based on reversing the Chain Rule for differentiation.

Recall the Chain Rule: If $F$ is an antiderivative of $f$ ($F'=f$), then the derivative of the composite function $F(g(x))$ is:

"$\frac{d}{dx}[F(g(x))] = F'(g(x)) \cdot g'(x)$"

[Chain Rule]

Since integration is the inverse of differentiation, integrating both sides of this equation with respect to $x$ should give us back the original function on the left side (plus a constant):

"$\int \left[ F'(g(x)) \cdot g'(x) \right] dx = F(g(x)) + C$"

[Integrating both sides]

Now, let's look at the integrand $F'(g(x)) \cdot g'(x)$. If we make the substitution $u = g(x)$, then the differential is $du = g'(x) dx$. Also, let $f(u) = F'(u)$. The integral can be written as $\int f(g(x)) g'(x) dx$.

Substituting $u = g(x)$ and $du = g'(x) dx$ transforms the integral on the left side into:

"$\int f(u) du$"

We know that the integral of $f(u)$ with respect to $u$ is its antiderivative $F(u)$ plus a constant: $\int f(u) du = F(u) + C$.

Substituting $u=g(x)$ back into $F(u)+C$ gives $F(g(x)) + C$, which matches the result from integrating the Chain Rule. The substitution method provides a systematic way to make this transformation $\int f(g(x)) g'(x) dx \longrightarrow \int f(u) du$.


Applications of Integration by Substitution

Substitution is applicable in a wide variety of integrals, particularly those involving composite functions. Some common patterns where substitution is useful include:

The key is identifying the "inner function" $u=g(x)$ such that its derivative $g'(x)$ (or a constant multiple of it) is present elsewhere in the integrand to form the $du$ term.


Example 1. Evaluate $\int (2x+1)^5 dx$.

Answer:

This integral has a function $(2x+1)$ raised to a power, suggesting a composite function. The inner part is $2x+1$.

Step 1: Choose a Substitution.

Let $u$ be the inner function:

"$u = 2x+1$"

Step 2: Find the differential $du$.

Differentiate $u = 2x+1$ with respect to $x$:

"$\frac{du}{dx} = \frac{d}{dx}(2x+1) = 2$"

Write this in differential form:

"$du = 2 dx$"

Step 3: Substitute into the Integral.

The original integral is $\int (2x+1)^5 dx$.

Substitute $u = 2x+1$: The term $(2x+1)^5$ becomes $u^5$.

From $du = 2dx$, we can solve for $dx$: $dx = \frac{1}{2} du$. Substitute this for $dx$.

The integral becomes:

"$\int u^5 \left(\frac{1}{2} du\right)$"

[Substitute $u$ and $dx$]

Move the constant $\frac{1}{2}$ outside the integral sign:

$= \frac{1}{2} \int u^5 du$"

[Constant Multiple Rule]

The integral is now entirely in terms of $u$ and $du$, ready to be evaluated using a standard formula.

Step 4: Integrate with Respect to $u$.

Use the Power Rule for Integration, $\int u^n du = \frac{u^{n+1}}{n+1} + C$, with $n=5$:

"$= \frac{1}{2} \left( \frac{u^{5+1}}{5+1} \right) + C$"

[Apply Power Rule for $u$]

$= \frac{1}{2} \left( \frac{u^6}{6} \right) + C = \frac{u^6}{12} + C$"

[Simplify]

Step 5: Substitute Back to the Original Variable ($x$).

Replace $u$ with its original expression in terms of $x$, which is $u = 2x+1$.

"$= \frac{(2x+1)^6}{12} + C$"

[Substitute back $u=2x+1$]

The indefinite integral of $(2x+1)^5$ is $\frac{(2x+1)^6}{12} + C$.

Verification: Differentiate the result using the Chain Rule: $\frac{d}{dx}\left(\frac{(2x+1)^6}{12} + C\right) = \frac{1}{12} \cdot 6(2x+1)^{6-1} \cdot \frac{d}{dx}(2x+1) + 0 = \frac{6}{12}(2x+1)^5 \cdot 2 = \frac{1}{2}(2x+1)^5 \cdot 2 = (2x+1)^5$, which is the original integrand.


Example 2. Evaluate $\int x^2 \cos(x^3) dx$.

Answer:

The integrand $x^2 \cos(x^3)$ involves a composite function $\cos(x^3)$ and a factor $x^2$, which is related to the derivative of the inner function $x^3$. This suggests substitution.

Step 1: Choose a Substitution.

Let $u$ be the inner function of the composite $\cos(x^3)$:

"$u = x^3$"

Step 2: Find the differential $du$.

Differentiate $u = x^3$ with respect to $x$:

"$\frac{du}{dx} = \frac{d}{dx}(x^3) = 3x^2$"

Write this in differential form:

"$du = 3x^2 dx$"

Step 3: Substitute into the Integral.

The original integral is $\int x^2 \cos(x^3) dx$. We can rewrite it slightly as $\int \cos(x^3) (x^2 dx)$.

Substitute $u = x^3$: The term $\cos(x^3)$ becomes $\cos u$.

From $du = 3x^2 dx$, we see that $x^2 dx$ is present in the integrand. Solve for $x^2 dx$: $x^2 dx = \frac{1}{3} du$. Substitute this for $x^2 dx$.

The integral becomes:

"$\int \cos(u) \left(\frac{1}{3} du\right)$"

[Substitute $u$ and $x^2 dx$]

Move the constant $\frac{1}{3}$ outside:

$= \frac{1}{3} \int \cos u du$"

[Constant Multiple Rule]

The integral is now in a standard form in terms of $u$ and $du$.

Step 4: Integrate with Respect to $u$.

Use the standard integral $\int \cos u du = \sin u + C_1$:

"$= \frac{1}{3} (\sin u) + C$"

[Apply standard integral formula]

Step 5: Substitute Back to the Original Variable ($x$).

Replace $u$ with its original expression in terms of $x$, $u = x^3$.

"$= \frac{1}{3} \sin(x^3) + C$"

[Substitute back $u=x^3$]

The indefinite integral of $x^2 \cos(x^3)$ is $\frac{1}{3} \sin(x^3) + C$.

Verification: Differentiate the result: $\frac{d}{dx}\left(\frac{1}{3} \sin(x^3) + C\right) = \frac{1}{3} \frac{d}{dx}(\sin(x^3)) + 0$. Using the Chain Rule on $\sin(x^3)$: $\frac{d}{dx}(\sin(x^3)) = \cos(x^3) \cdot \frac{d}{dx}(x^3) = \cos(x^3) \cdot 3x^2$. So, $\frac{1}{3} ( \cos(x^3) \cdot 3x^2 ) = x^2 \cos(x^3)$, which is the original integrand.


Example 3. Evaluate $\int \frac{\ln x}{x} dx$ for $x > 0$.

Answer:

The integrand is $\frac{\ln x}{x}$, which can be written as $(\ln x) \cdot \frac{1}{x}$. Notice that the derivative of $\ln x$ is $\frac{1}{x}$, which is present as a factor. This suggests substituting $u = \ln x$. We are given $x > 0$, which is the domain for $\ln x$ and $\frac{1}{x}$.

Step 1: Choose a Substitution.

Let $u$ be the function whose derivative is present:

"$u = \ln x$"

Step 2: Find the differential $du$.

Differentiate $u = \ln x$ with respect to $x$:

"$\frac{du}{dx} = \frac{d}{dx}(\ln x) = \frac{1}{x}$"

Write this in differential form:

"$du = \frac{1}{x} dx$"

Step 3: Substitute into the Integral.

The original integral is $\int \frac{\ln x}{x} dx$. We can rewrite it as $\int (\ln x) \left(\frac{1}{x} dx\right)$.

Substitute $u = \ln x$ and $du = \frac{1}{x} dx$.

The integral becomes:

"$\int u \, du$"

[Substitute $u$ and $\frac{1}{x} dx$]

This is a standard integral in terms of $u$ and $du$.

Step 4: Integrate with Respect to $u$.

Use the Power Rule for Integration, $\int u^n du = \frac{u^{n+1}}{n+1} + C$, with $n=1$:

"$= \frac{u^{1+1}}{1+1} + C = \frac{u^2}{2} + C$"

[Apply Power Rule for $u$]

Step 5: Substitute Back to the Original Variable ($x$).

Replace $u$ with its original expression in terms of $x$, $u = \ln x$.

"$= \frac{(\ln x)^2}{2} + C$"

[Substitute back $u=\ln x$]

The indefinite integral of $\frac{\ln x}{x}$ is $\frac{(\ln x)^2}{2} + C$ (for $x > 0$).

Verification: Differentiate the result: $\frac{d}{dx}\left(\frac{(\ln x)^2}{2} + C\right) = \frac{1}{2} \frac{d}{dx}((\ln x)^2) + 0$. Use the Chain Rule on $(\ln x)^2$: $\frac{d}{dx}((\ln x)^2) = 2(\ln x)^1 \cdot \frac{d}{dx}(\ln x) = 2\ln x \cdot \frac{1}{x} = \frac{2\ln x}{x}$. So, $\frac{1}{2} \left(\frac{2\ln x}{x}\right) = \frac{\ln x}{x}$, which is the original integrand.



Integration by Parts Formula and Application

Integration by Parts is a crucial technique for evaluating integrals of products of functions, especially when direct substitution (u-substitution) is not applicable. It is derived directly from the Product Rule for differentiation.

Derivation from the Product Rule

Recall the Product Rule for differentiating the product of two differentiable functions $u(x)$ and $v(x)$:

"$\frac{d}{dx}[u(x)v(x)] = u(x)v'(x) + v(x)u'(x)$"

[Product Rule for Differentiation]

We can rearrange this equation to isolate one of the terms on the right side:

"$u(x)v'(x) = \frac{d}{dx}[u(x)v(x)] - v(x)u'(x)$"

[Rearranging the equation]

Now, integrate both sides of this rearranged equation with respect to $x$. Recall that the integral of a derivative of a function gives back the original function (plus a constant of integration, which we will include at the final step):

"$\int u(x)v'(x) dx = \int \frac{d}{dx}[u(x)v(x)] dx - \int v(x)u'(x) dx$"

[Integrating both sides]

Evaluate the integral of the derivative term:

"$\int u(x)v'(x) dx = u(x)v(x) - \int v(x)u'(x) dx$"

[Evaluating $\int \frac{d}{dx}[\cdot] dx$]

This equation is the core of the Integration by Parts formula.


Integration by Parts Formula

The formula derived above is usually written in a more compact form using differentials. Let $u = u(x)$ and $v = v(x)$. Then the differential of $u$ is $du = u'(x) dx$, and the differential of $v$ is $dv = v'(x) dx$. Substituting these into the formula $\int u(x)v'(x) dx = u(x)v(x) - \int v(x)u'(x) dx$ gives the standard Integration by Parts formula:

$\int u dv = uv - \int v du$

This formula means that if you have an integral of the form $\int u \cdot dv$ (where you identify one part of the integrand as $u$ and the rest, including $dx$, as $dv$), you can evaluate it by computing $uv$ and then subtracting the integral of $v \cdot du$. The goal is for the new integral $\int v du$ to be simpler to evaluate than the original integral $\int u dv$.


How to Use Integration by Parts

To evaluate an integral $\int f(x) dx$ using integration by parts, you need to creatively split the integrand into two parts, one part to be designated as $u$ and the other part (including $dx$) to be designated as $dv$.

Steps for Applying Integration by Parts:

  1. Choose $u$ and $dv$: Identify the integrand and decide how to split it into two parts: a function $u$ and a differential $dv$. The success of the method heavily depends on making a good choice. The ideal choice is one where:
    • $u$ is easy to differentiate to find $du$.
    • $dv$ is easy to integrate to find $v$.
    • Most importantly, the new integral $\int v du$ is significantly simpler or easier to evaluate than the original integral $\int u dv$.
  2. Calculate $du$ and $v$:
    • Find the differential of $u$ by differentiating $u$ with respect to $x$ and multiplying by $dx$: $du = \frac{du}{dx} dx$.
    • Find $v$ by integrating $dv$: $v = \int dv$. When integrating $dv$ to find $v$, we do not need to add the constant of integration $+C$ at this intermediate step. Adding it would just introduce extra complexity that cancels out later.
  3. Apply the Integration by Parts Formula: Substitute the expressions you found for $u, v, du,$ and $dv$ into the formula:

    $\int u dv = uv - \int v du$

  4. Evaluate the New Integral: Evaluate the integral $\int v du$ on the right side of the formula. This might be a standard integral, one solvable by substitution, or in some cases, it might require another application of integration by parts.
  5. Combine and Add the Constant of Integration: Combine the $uv$ term and the result from evaluating $\int v du$. Add the constant of integration, $+ C$, to the final result.

Guideline for Choosing $u$ and $dv$ (LIATE / ILATE Rule)

When the integrand is a product of two different types of functions, the choice of $u$ and $dv$ can be guided by the LIATE (or ILATE) acronym. This mnemonic suggests the order of preference for choosing the part of the integrand that will be $u$ (the function to differentiate):

L - Logarithmic functions (e.g., $\ln x, \log_{10} x$) - These are often chosen as $u$ because their derivatives are simpler algebraic functions ($1/x$).

I - Inverse Trigonometric functions (e.g., $\arcsin x, \arctan x$) - Their derivatives are algebraic functions, which can be easier to handle in $\int v du$.

A - Algebraic functions (e.g., $x^n$, polynomials) - These become simpler after differentiation (the power decreases). Choose a polynomial as $u$ if the remaining $dv$ (often exponential or trigonometric) is easily integrable.

T - Trigonometric functions (e.g., $\sin x, \cos x$) - These often cycle through derivatives or become slightly simpler, but their antiderivatives are straightforward.

E - Exponential functions (e.g., $e^x, a^x$) - These are often chosen as $dv$ because they are easy to integrate, and their form doesn't change significantly after integration or differentiation.

The function type that appears higher in the LIATE list is usually chosen as $u$. The remaining part of the integrand, along with $dx$, is then $dv$. This choice often leads to the integral $\int v du$ being simpler than the original $\int u dv$.


Example 1. Evaluate $\int x \cos x dx$.

Answer:

The integrand is a product of an algebraic function ($x$) and a trigonometric function ($\cos x$). We will use integration by parts.

Step 1: Choose $u$ and $dv$.

Using the LIATE rule, Algebraic (A) comes before Trigonometric (T). So, we choose $u$ as the algebraic part and $dv$ as the trigonometric part along with $dx$.

"$u = x$"

[Chosen based on LIATE]

"$dv = \cos x dx$"

[The remaining part]

Step 2: Calculate $du$ and $v$.

Differentiate $u$ to find $du$:

"$du = \frac{d}{dx}(x) dx = 1 dx = dx$"

Integrate $dv$ to find $v$. We need a function whose derivative is $\cos x$. This is $\sin x$. We do not add $+C$ at this step.

"$v = \int \cos x dx = \sin x$"

Step 3: Apply the Integration by Parts Formula $\int u dv = uv - \int v du$.

Substitute the expressions for $u, v, du,$ and $dv$ into the formula:

"$\int x \cos x dx = (x)(\sin x) - \int (\sin x)(dx)$"

[Applying formula]

$= x \sin x - \int \sin x dx$"

The new integral is $\int \sin x dx$. This is a standard integral.

Step 4: Evaluate the New Integral.

The integral $\int \sin x dx$ is a standard indefinite integral:

"$\int \sin x dx = -\cos x$"

Step 5: Combine and Add the Constant of Integration.

Substitute the result of the new integral back into the formula from Step 3 and add the constant of integration $C$ to the final answer:

"$\int x \cos x dx = x \sin x - (-\cos x) + C$"

[Substitute result and add $C$]

Simplify the expression:

$= x \sin x + \cos x + C$"

The indefinite integral of $x \cos x$ is $x \sin x + \cos x + C$.

Verification: Differentiate the result: $\frac{d}{dx}(x \sin x + \cos x + C)$. Using the Product Rule on $x \sin x$: $\frac{d}{dx}(x \sin x) = 1 \cdot \sin x + x \cdot \cos x$. Derivative of $\cos x$ is $-\sin x$. Derivative of $C$ is 0. So, $\frac{d}{dx}(x \sin x + \cos x + C) = (\sin x + x \cos x) - \sin x + 0 = x \cos x$, which is the original integrand.


Example 2. Evaluate $\int \ln x dx$ for $x > 0$.

Answer:

The integrand is $\ln x$. It doesn't appear as a product initially. However, we can view it as a product of $\ln x$ and 1: $\int (\ln x) \cdot 1 dx$. This allows us to apply integration by parts.

Step 1: Choose $u$ and $dv$.

Using the LIATE rule, Logarithmic (L) comes before Algebraic (A). We choose $\ln x$ as $u$. The remaining part, $1 dx$, becomes $dv$.

"$u = \ln x$"

[Chosen based on LIATE]

"$dv = 1 dx = dx$"

[The remaining part]

Step 2: Calculate $du$ and $v$.

Differentiate $u$ to find $du$:

"$du = \frac{d}{dx}(\ln x) dx = \frac{1}{x} dx$"

Integrate $dv$ to find $v$. We need a function whose derivative is 1. This is $x$. We do not add $+C$ at this step.

"$v = \int dx = x$"

Step 3: Apply the Integration by Parts Formula $\int u dv = uv - \int v du$.

Substitute the expressions for $u, v, du,$ and $dv$ into the formula:

"$\int \ln x dx = (\ln x)(x) - \int (x)\left(\frac{1}{x} dx\right)$"

[Applying formula]

$= x \ln x - \int \frac{x}{x} dx$"

Simplify the integrand in the new integral:

$= x \ln x - \int 1 dx$"

[Simplifying integrand]

The new integral is $\int 1 dx$, which is a standard integral.

Step 4: Evaluate the New Integral.

The integral $\int 1 dx$ is a standard indefinite integral:

"$\int 1 dx = x$"

Step 5: Combine and Add the Constant of Integration.

Substitute the result of the new integral back into the formula from Step 3 and add the constant of integration $C$ to the final answer:

"$\int \ln x dx = x \ln x - x + C$"

[Substitute result and add $C$]

The indefinite integral of $\ln x$ is $x \ln x - x + C$ (for $x > 0$).

Verification: Differentiate the result: $\frac{d}{dx}(x \ln x - x + C)$. Using the Product Rule on $x \ln x$: $\frac{d}{dx}(x \ln x) = 1 \cdot \ln x + x \cdot \frac{1}{x} = \ln x + 1$. Derivative of $-x$ is $-1$. Derivative of $C$ is 0. So, $\frac{d}{dx}(x \ln x - x + C) = (\ln x + 1) - 1 + 0 = \ln x$, which is the original integrand.



Standard Integrals solvable by Parts (e.g., $\int e^x (f(x) + f'(x)) dx$)

Beyond applying the integration by parts formula $\int u dv = uv - \int v du$ step-by-step, there are certain forms of integrals that are frequently encountered and can be solved using integration by parts, leading to standard results. Recognizing these forms can significantly speed up the integration process.

Integral of the Form $\int e^x [f(x) + f'(x)] dx$

This is a very important standard integral form that directly arises from applying the Product Rule to a specific combination of functions. The result is remarkably simple.

Theorem: For a differentiable function $f(x)$, the integral of $e^x$ multiplied by the sum of $f(x)$ and its derivative $f'(x)$ is given by:

$\int e^x [f(x) + f'(x)] dx = e^x f(x) + C$

Proof of the Theorem:

We can prove this theorem by differentiating the proposed result, $e^x f(x) + C$, and showing that its derivative is the integrand $e^x [f(x) + f'(x)]$.

Consider the function $y = e^x f(x)$. We differentiate this product using the Product Rule for differentiation, $\frac{d}{dx}[u(x)v(x)] = u(x)v'(x) + v(x)u'(x)$. Let $u(x) = e^x$ and $v(x) = f(x)$.

"$\frac{d}{dx}[e^x f(x)] = \frac{d}{dx}(e^x) \cdot f(x) + e^x \cdot \frac{d}{dx}(f(x))$"

[Using Product Rule]

We know $\frac{d}{dx}(e^x) = e^x$ and $\frac{d}{dx}(f(x)) = f'(x)$. Substitute these into the equation:

"$\frac{d}{dx}[e^x f(x)] = e^x \cdot f(x) + e^x \cdot f'(x)$"

Factor out the common term $e^x$ on the right side:

"$\frac{d}{dx}[e^x f(x)] = e^x [f(x) + f'(x)]$"

[Factoring out $e^x$]

By the definition of an indefinite integral, if the derivative of $e^x f(x)$ is $e^x [f(x) + f'(x)]$, then the indefinite integral of $e^x [f(x) + f'(x)]$ must be $e^x f(x)$ plus the constant of integration $C$.

"$\int e^x [f(x) + f'(x)] dx = e^x f(x) + C$"

[Definition of Indefinite Integral]

This completes the proof. Q.E.D.

Application of the Theorem: When evaluating an integral, look closely at the integrand. If it is of the form $e^x$ multiplied by an expression that is the sum of a function and its derivative, you can immediately apply this theorem to write down the result $e^x f(x) + C$, where $f(x)$ is the function part of the sum whose derivative is also present.


Example 1. Evaluate $\int e^x (\tan x + \sec^2 x) dx$.

Answer:

We observe that the integrand is $e^x$ multiplied by a sum of two functions, $(\tan x + \sec^2 x)$. We check if this matches the form $e^x [f(x) + f'(x)]$.

Let's identify a potential $f(x)$ within the sum $\tan x + \sec^2 x$. Consider $f(x) = \tan x$.

Now, find the derivative of this chosen $f(x)$:

"$f'(x) = \frac{d}{dx}(\tan x) = \sec^2 x$"

[Standard derivative]

The other term in the sum is $\sec^2 x$, which is exactly the derivative of our chosen $f(x)$. So, the expression in the brackets is indeed of the form $[f(x) + f'(x)]$.

The integrand is $e^x [\tan x + \sec^2 x] = e^x [f(x) + f'(x)]$.

According to the standard theorem $\int e^x [f(x) + f'(x)] dx = e^x f(x) + C$, we can write down the result directly.

"$\int e^x (\tan x + \sec^2 x) dx = e^x (\tan x) + C$"

[Using the theorem]

The indefinite integral is $e^x \tan x + C$.


Example 2. Evaluate $\int e^x \left(\frac{1}{x} - \frac{1}{x^2}\right) dx$ for $x \neq 0$.

Answer:

The integrand is $e^x$ multiplied by a difference $\left(\frac{1}{x} - \frac{1}{x^2}\right)$. We can view the difference as a sum $\left(\frac{1}{x} + \left(-\frac{1}{x^2}\right)\right)$. We check if this matches the form $e^x [f(x) + f'(x)]$.

Let's consider $f(x) = \frac{1}{x} = x^{-1}$.

Now, find the derivative of this $f(x)$:

"$f'(x) = \frac{d}{dx}(x^{-1}) = -1 \cdot x^{-1-1} = -x^{-2} = -\frac{1}{x^2}$"

[Using Power Rule]

The other term in the brackets is $-\frac{1}{x^2}$, which is exactly the derivative of our chosen $f(x)$. So, the expression in the brackets is $\left[f(x) + f'(x)\right]$.

The integrand is $e^x \left[ \frac{1}{x} + \left(-\frac{1}{x^2}\right) \right] = e^x [f(x) + f'(x)]$.

According to the standard theorem $\int e^x [f(x) + f'(x)] dx = e^x f(x) + C$, we can write down the result directly.

"$\int e^x \left(\frac{1}{x} - \frac{1}{x^2}\right) dx = e^x \left(\frac{1}{x}\right) + C$"

[Using the theorem]

The indefinite integral is $\frac{e^x}{x} + C$ (for $x \neq 0$).


Other Standard Integrals Solvable by Parts

Integration by parts is the standard technique for evaluating integrals of several other common forms. While you can always derive these results by applying the integration by parts formula, it's useful to be familiar with them.

Familiarity with these standard forms allows for quicker identification of when integration by parts is needed and sometimes recalling the result directly.